function ChandaAppCtrl($scope, $window) {
	$scope.details = false;
	$scope.beforeLogin = true;
	$scope.currentScreen = 'menu';

	$scope.menu = [
   		{
   			"name": "chanda",
   			"title": "Chanda",
   			"infosize": "small",
   			"info": [
   			 	"Chanda aamad due",
   			 	"Khuddam membership due",
   			 	"Last paid: 23-June-2013"
   			 ]
   		},             
		{
   			"name": "notifications",
   			"title": "Notification",
   			"infosize": "big",
   			"info": [4]
		},             
		{
   			"name": "me",
   			"title": "Me",
   			"infosize": "medium",
   			"info": [
  			 	"You are khadim",
  			 	"National ijtima in 20 days"
   			]
		},             
		{
   			"name": "advisor",
   			"title": "Advisor",
   			"infosize": "medium",
   			"info": [
   			 	"Bilal fund",
   			 	"Yatama fund",
   			 	"You have pledges due"
   			]
		}             
	];

	$scope.login = function() {
		$scope.beforeLogin = false;
	};

	$scope.toggleDetail = function() {
		$scope.details = !$scope.details;
	};

	$scope.mainNav = function(screen) {
		return screen === $scope.currentScreen;
	};
	
	$scope.changeCurrentScreen = function($event, screen) {
		$scope.currentScreen = screen;
	};
	
}